using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class SO_DMMR
    {
        public int IID { get; set; }
        public string ID { get; set; }
        public string CUSTSRH { get; set; }
        public string COMPANY { get; set; }
        public string ADDR1 { get; set; }
        public string ADDR2 { get; set; }
        public string CITY { get; set; }
        public string STATE { get; set; }
        public string ZIP { get; set; }
        public Nullable<bool> LATE { get; set; }
        public string CONTACT { get; set; }
        public string PHONE { get; set; }
        public Nullable<bool> TAXABLE { get; set; }
        public string TAXAUTH { get; set; }
        public Nullable<bool> FEDTAX { get; set; }
        public string FAX { get; set; }
        public Nullable<double> CREDITLMT { get; set; }
        public string TERMS { get; set; }
        public Nullable<bool> ONACCOUNT { get; set; }
        public string GROUPS { get; set; }
        public Nullable<bool> CREDITHOLD { get; set; }
        public string PRICE_CODE { get; set; }
        public Nullable<System.DateTime> DATEADDED { get; set; }
        public Nullable<System.DateTime> LASTSALE { get; set; }
        public string TAXID { get; set; }
        public string REGION { get; set; }
        public string FIRST_NM { get; set; }
        public string LAST_NM { get; set; }
        public string FATHER_NM { get; set; }
        public Nullable<int> ID_TYPE { get; set; }
        public string ID_NO { get; set; }
        public string GENDER { get; set; }
        public string POBIRTH { get; set; }
        public Nullable<short> PAT_STATUS { get; set; }
        public Nullable<bool> CURRENT { get; set; }
        public Nullable<bool> OUTPATIENT { get; set; }
        public string ARACCT { get; set; }
        public Nullable<short> CURRENCY { get; set; }
        public Nullable<System.DateTime> BDATE { get; set; }
        public byte TYPE { get; set; }
        public Nullable<double> DISCOUNT { get; set; }
        public Nullable<int> PCODE { get; set; }
        public Nullable<short> PYMT_TERMS { get; set; }
        public string SALUTATION { get; set; }
        public string ASALUTA { get; set; }
        public string AFIRST_NM { get; set; }
        public string ALAST_NM { get; set; }
        public string AFATHER { get; set; }
        public string SSCODE { get; set; }
        public string DLNUMBER { get; set; }
        public string WORK_PH1 { get; set; }
        public string WORK_PH2 { get; set; }
        public string MOBILE { get; set; }
        public string PAGER { get; set; }
        public string PO_BOX { get; set; }
        public Nullable<byte> TRADETYPE { get; set; }
        public string AGREEMENTNUM { get; set; }
        public Nullable<short> NATIONALITY { get; set; }
        public Nullable<System.DateTime> AGREEMENTDATE { get; set; }
        public short SALESMAN { get; set; }
        public Nullable<short> STORE { get; set; }
        public Nullable<byte> MARITALSTATUS { get; set; }
        public string SPOUSENAME { get; set; }
        public string File_Primary_Key { get; set; }
        public Nullable<System.Guid> msrepl_tran_version { get; set; }
        public string NOTES { get; set; }
        public Nullable<bool> ISMASTER { get; set; }
        public string CaseNb { get; set; }
        public Nullable<short> siteID { get; set; }
        public string PcPhysician { get; set; }
        public Nullable<System.DateTime> Replication_TimeStamp { get; set; }
        public Nullable<System.DateTime> CreationDate { get; set; }
        public bool Checkin_outpat { get; set; }
        public string OCCUPAT { get; set; }
        public string EMP { get; set; }
        public string MISC_CODE { get; set; }
        public string ANAME { get; set; }
        public string EMAIL { get; set; }
        public Nullable<bool> ACTIVE { get; set; }
        public string MOTHER { get; set; }
        public string AMOTHER { get; set; }
        public Nullable<int> FRPhysician { get; set; }
        public bool Pedo { get; set; }
        public Nullable<System.DateTime> Lastupdate { get; set; }
        public string firstenteredasinoutpatient { get; set; }
        public Nullable<double> Age { get; set; }
        public Nullable<byte> vip { get; set; }
        public string EmployerNb { get; set; }
        public string GrandFather_nm { get; set; }
        public string AGrandFather_nm { get; set; }
    }
}
